#pragma once
#include "Munition.h"
#include <GL/glut.h>

class PhaserMunition: public Munition
{
public:
	PhaserMunition(Map *);
	void display();
	void setAngle(GLfloat);
	void animate();
	void reset();
	~PhaserMunition(void);
private:
	void loadImage();

	GLuint textureMunition;
	GLUquadricObj* quad;

	GLfloat lenght;
	GLfloat radius;
	GLfloat height;
	GLfloat oldX;
	GLfloat oldZ;
	GLfloat angle;
	GLfloat angleAnimation;
};

